<%@ page language="java" pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>当天发货汇总表</title>
<style type="text/css">
h3{background:#ccc;padding-left:12px;}
.tab_b{border-left:1px solid #8CCD8C;border-top:1px solid #8CCD8C;border-collapse: collapse;font-size:16px;text-align:left}
.tab_b td,.tab_b th{border-bottom:1px solid #8CCD8C;border-right:1px solid #8CCD8C;padding-left:10px;line-height:21px;}
.STYLE3 {font-size: 13px;white-space:nowrap;}
</style>
<script type="text/javascript" src="${pageContext.request.contextPath}/tool/jquery/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/tool/su.js"></script>
</head>
<body>
<script type="text/javascript">
$(function(){
$(".STYLE3").textLen(20);
})
</script>
<p align="center">山东金科力电源科技有限公司&nbsp;&nbsp;发货汇总表&nbsp;&nbsp;&nbsp;&nbsp;${shipdate}</p>
<p align="center"><a href="">导出Excel</a></p>
<c:if test="${!empty shippers}">
<table class="tab_b" align="center">
<thead>
<tr>
<th width="15%">发货站</th>
<th width="25%">客户</th>
<th width="60%">《产品》规格(包装),件数,数量</th>
</tr>
</thead>
<c:forEach items="${shippers}" var="shipper">
<tr>
<th><span class="STYLE3">(${shipper['shipperId']})${shipper['shipper']}</span></th>
<th>件数小计 ${shipper['totalPackage']}</th>
<th>数量小计 ${shipper['totalStr']}</th>
</tr>
<c:forEach items="${shipper['custInfos']}" var="custInfo">
<tr>
<td>&nbsp;</td>
<td><span class="STYLE3">(${custInfo['custId']})${custInfo['custName']}</span></td>
<td>
<c:forEach items="${custInfo['ops']}" var="op">
《${op.pname}》${op.packstandard}<c:if test="${!empty op.packname}">(${op.packname})</c:if>,${op.packagenum},${op.num}&nbsp;&nbsp;
</c:forEach>
</td>
</tr>
</c:forEach>
</c:forEach>
</table>
</c:if>

</body>
</html>
